<template>
  <div>
    <!-- layout -->
  <router-view></router-view>
  <van-tabbar v-model="active">
  <van-tabbar-item to="/home" icon="wap-home-o" class="tabColor">首页</van-tabbar-item>
  <van-tabbar-item to="/home/list" icon="search">找房</van-tabbar-item>
  <van-tabbar-item to="/home/news" icon="newspaper-o">资讯</van-tabbar-item>
  <van-tabbar-item to="/home/profile" icon="user-o">我的</van-tabbar-item>
</van-tabbar>
  </div>
</template>

<script>
export default {
  data () {
    return {
      active: 0
    }
  }
}
</script>

<style lang="less" scoped>

</style>
